package com.chen.scaffolding.nacosserver.mapper;

import com.chen.scaffolding.nacosserver.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 用户mapper
 * @author :master
 */
@Mapper
public interface UserMapper {

    /**
     * 新增用户
     * @param userEntity 用户实例
     */
    public void addUser (UserEntity userEntity);

    /**
     * 修改用户
     * @param userEntity 用户实例
     */
    public void updateUser (UserEntity userEntity);
}
